<?php

namespace App\Http\Controllers\Index;

use App\Http\Controllers\Controller;

class IndexController extends Controller
{
    public function index()
    {
        return view('Index.index', ['data' => '母豹！！！']);
    }

    public function test()
    {
        $data = ['a'=> 'b','c' => '4'];
        return response()->json(['status'=>1,'msg'=>'查询成功！','data'=>$data]);
        return response('asdfas', 201);
        return view('Index.index', ['data' => '母豹！！！']);
    }
}
